using System;

namespace eduSrc.Models
{
    [Serializable]
    public class Menu
    {
        #region Private Fields

        private int  _id = 0;
        private String _name = String.Empty;
        private int _fatherID = 0;
        private int _sortID = 0;
        private String _href = String.Empty;
        private String _targetFrame = String.Empty;
        private int _child = 0;
        private long _permission = 0x0000000000000000;

        #endregion

        #region Properties

        public int ID
		{
            get { return _id; }
            set { _id = value; }
		}

        public String Name
        {
            set { _name = value; }
            get { return _name; }
        }

        public int FatherID
        {
            set { _fatherID = value; }
            get { return _fatherID; }
        }

        public int SortID
        {
            set { _sortID = value; }
            get { return _sortID; }
        }

        public String Href
		{
            set { _href = value; }
            get { return _href; }
		}

        public String TargetFrame
        {
            set { _targetFrame = value; }
            get { return _targetFrame; }
        }

        public int Child
        {
            set { _child = value; }
            get { return _child; }
        }

        public long Permission
        {
            set { _permission = value; }
            get { return _permission; }
        }

        #endregion
    }
}
